﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Admin_SystemManage_WebAttribute : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            object id = Request.QueryString["id"];
            if (id != null)
            {
                switch (id.ToString())
                {
                    case "WebAttribute":
                        this.labTitle.Text = "網站參數";
                        this.MultiView1.ActiveViewIndex = 0;
                        break;
                    case "AdminManage":
                        this.labTitle.Text = "用戶管理";
                        this.MultiView1.ActiveViewIndex =1;
                        break;
                    case "NodeManage":
                        this.labTitle.Text = "频道管理";
                        this.MultiView1.ActiveViewIndex =2;
                        break;
                }

            }
        }
    }
}
